package com.diaosidadui.test;

import java.util.Scanner;

public class Season {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        while (true){
            System.out.println("请输入一个月份:");
            int getMonth = sc.nextInt();
            switch (getMonth) {
                case 3:
                case 4:
                case 5:
                    System.out.println("春困");
                    break;
                case 6:
                case 7:
                case 8:
                    System.out.println("夏盹");
                    break;
                case 9:
                case 10:
                case 11:
                    System.out.println("秋乏");
                    break;
                case 12:
                case 1:
                case 2:
                    System.out.println("冬眠");
                    break;
                default:
                    System.out.println("输入有误");
                    break;

            }
        }

    }


}

